import request from '/@/utils/request'
const tablename = 'crm_contract'

export function api_renew(params: any) {
  const res = request({
    url: `/${tablename}/renew`,
    method: 'post',
    params,
  })
  console.log('api_renew', res)
  return res
}

export function api_pay_money(params: any) {
  const res = request({
    url: `/${tablename}/pay_money`,
    method: 'post',
    params,
  })
  console.log('api_pay_money', res)
  return res
}

export function api_refund(params: any) {
  const res = request({
    url: `/${tablename}/refund`,
    method: 'post',
    params,
  })
  console.log('api_refund', res)
  return res
}
